	
		<!-- SIDEBAR-START -->
		<div id="content_right">
			<div class="title"><?php echo lang('tags') ?></div>
			<div style="margin-top:10px;">
				<span class="tag8">
					<a href="<?php echo site_url('tasks') ?>" class="taglink"><?php echo lang('all') ?></a>
				</span>&nbsp;
				<?php if(@count($tags) > 0) : ?>
				<?php foreach($tags as $tag) : ?>
					
				<span class="<?php echo mapTagCountToClass($tag->count) ?>">
					<a href="<?php echo site_url('tasks/index') . '/' . $tag->tag_id ?>" class="taglink<?php echo @(int)$tag_selected == $tag->tag_id ? ' tag_selected' : '' ?>" title="<?php echo $tag->count ?>"><?php echo $tag->name ?></a>
				</span>&nbsp;
				<?php endforeach; ?>
				<?php endif; ?>
			
			</div>
		</div>
		<!-- SIDEBAR-END -->
	